projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6cbf6c
)
* lisp/mpc.el (mpc-volume-refresh): Check if buffer is live.
author
Mark Oteiza
<mvoteiza@udel.edu>
Wed, 14 Oct 2015 12:52:44 +0000
(08:52 -0400)
committer
Mark Oteiza
<mvoteiza@udel.edu>
Wed, 14 Oct 2015 12:52:44 +0000
(08:52 -0400)
lisp/mpc.el
patch
|
blob
|
history
diff --git
a/lisp/mpc.el
b/lisp/mpc.el
index d1524e7568b383e1bd512f2d2c3f86ed45df5663..0f8283aeb03318ee633153c9f942d4a62d43d095 100644
(file)
--- a/
lisp/mpc.el
+++ b/
lisp/mpc.el
@@
-1830,7
+1830,8
@@
A value of t means the main playlist.")
(mpc-volume-widget
(string-to-number (cdr (assq 'volume mpc-status)))))
(let ((status-buf (mpc-proc-buffer (mpc-proc) 'status)))
- (when status-buf (with-current-buffer status-buf (force-mode-line-update)))))
+ (when (buffer-live-p status-buf)
+ (with-current-buffer status-buf (force-mode-line-update)))))
(defvar mpc-volume-step 5)